﻿@model Commerce_phuc.Models.Entity.ProductQuanAo
@{
    ViewBag.Title = "Edit Quần Áo";
}

<div class="conten_title">
    <div class="row">
        <div class="col-md-4">
            <div class="col-md-2">

                <img src="~/Areas/Kuku/Admin/icon-48-category-add.png" />
            </div>
            <div class="col-md-10">
                <h4>Product Manager: Edit</h4>
            </div>

        </div>
        <div class="col-md-7">

            <div class="col-md-7">

            </div>
            <!-- end --->
            <div class="col-md-5 conten_title_right ">
                <a href="/Kuku/QuanAo/Index">
                    <img style="width:32px;" src="" />

                    <br />
                    back
                </a>
                <a href="#">
                    <span class="icon-32-trash"></span>
                    Delete
                </a>
                <a href="#">
                    <span class="icon-32-new"></span>
                    new
                </a>


            </div>

        </div>
    </div>



</div>
<!-- End conten_title-->

<div class="content_table">
    <fieldset class="adminform">
        <legend>Thêm Quần Áo</legend>
        <div class="row">

            @using (Html.BeginForm("Edit", "QuanAo",
                                FormMethod.Post, new { enctype = "multipart/form-data", @class = "form-horizontal" }))
            {
                <div class="col-md-6">

                    <div class="form-group">
                        <div class="col-sm-1">
                        </div>
                        @Html.LabelFor(a => a.CategoryId, new { @class = "col-sm-2 control-label", })
                        <div class="col-sm-8">


                            @Html.DropDownList("CategoryId", null, new { @class = "form-control" })
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-1">
                        </div>
                        @Html.LabelFor(a => a.NameEN, new { @class = "col-sm-2 control-label", })
                        <div class="col-sm-8">

                            @Html.TextBoxFor(a => a.NameEN, new { @class = "form-control", @placeholder = "Tên tiếng anh" })
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-1">
                        </div>
                        @Html.LabelFor(a => a.NameVN, new { @class = "col-sm-2 control-label", })
                        <div class="col-sm-8">

                            @Html.TextBoxFor(a => a.NameVN, new { @class = "form-control", @placeholder = "Tên tiếng viêt" })
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-1">
                        </div>
                        @Html.LabelFor(a => a.MetaTitle, new { @class = "col-sm-2 control-label", })
                        <div class="col-sm-8">

                            @Html.TextBoxFor(a => a.MetaTitle, new { @class = "form-control", @placeholder = "MetaTitle" })
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-1">
                        </div>
                        @Html.LabelFor(a => a.Description, new { @class = "col-sm-2 control-label", })
                        <div class="col-sm-8">

                            @Html.TextAreaFor(a => a.Description, new { @class = "form-control", @placeholder = "Description" })
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-1">
                        </div>
                        @Html.LabelFor(a => a.Image, new { @class = "col-sm-2 control-label", })
                        <div class="col-sm-8">
                            <input type="file" name="UpImage" />
                            @Html.HiddenFor(s => s.Image , new { @class = "form-control" })
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-1">
                        </div>
                        @Html.LabelFor(a => a.Price, new { @class = "col-sm-2 control-label", })
                        <div class="col-sm-8">

                            @Html.TextBoxFor(a => a.Price, new { @class = "form-control", @placeholder = "Giá sản phẩm" })
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-1">
                        </div>
                        @Html.LabelFor(a => a.PromotionPrice, new { @class = "col-sm-2 control-label", })
                        <div class="col-sm-8">

                            @Html.TextBoxFor(a => a.PromotionPrice, new { @class = "form-control", @placeholder = "Giản giá" })
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-1">
                        </div>
                        @Html.LabelFor(a => a.IncludedVAT, new { @class = "col-sm-2 control-label", })
                        <div class="col-sm-8">
                            @Html.CheckBoxFor(a => a.IncludedVAT)
                        </div>
                    </div>

                </div>

                <div class="col-md-6">

                    <div class="form-group">
                        <div class="col-sm-1">
                        </div>
                        @Html.LabelFor(a => a.Quantity, new { @class = "col-sm-2 control-label", })
                        <div class="col-sm-8">

                            @Html.TextBoxFor(a => a.Quantity, new { @class = "form-control", @placeholder = "Số lượng" })
                        </div>
                    </div>

                    <div class="form-group">
                        <div class="col-sm-1">
                        </div>
                        @Html.LabelFor(a => a.Detail, new { @class = "col-sm-2 control-label", })
                        <div class="col-sm-8">

                            @Html.TextAreaFor(a => a.Detail, new { @class = "form-control", @placeholder = "Chi tiết" })
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-1">
                        </div>
                        @Html.LabelFor(a => a.Warranty, new { @class = "col-sm-2 control-label", })
                        <div class="col-sm-8">

                            @Html.TextBoxFor(a => a.Warranty, new { @class = "form-control", @placeholder = "Warranty" })
                        </div>
                    </div>


                    <div class="form-group">
                        <div class="col-sm-1">
                        </div>
                        @Html.LabelFor(a => a.ModifiedBy, new { @class = "col-sm-2 control-label", })
                        <div class="col-sm-8">

                            @Html.TextBoxFor(a => a.ModifiedBy, new { @class = "form-control", @placeholder = "ModifiedBy" })
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-1">
                        </div>
                        @Html.LabelFor(a => a.MetaKeywords, new { @class = "col-sm-2 control-label", })
                        <div class="col-sm-8">

                            @Html.TextBoxFor(a => a.MetaKeywords, new { @class = "form-control", @placeholder = "MetaKeywords" })
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-1">
                        </div>
                        @Html.LabelFor(a => a.MetaDescriptions, new { @class = "col-sm-2 control-label", })
                        <div class="col-sm-8">

                            @Html.TextBoxFor(a => a.MetaDescriptions, new { @class = "form-control", @placeholder = "MetaDescriptions" })
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-1">
                        </div>
                        @Html.LabelFor(a => a.Status, new { @class = "col-sm-2 control-label", })
                        <div class="col-sm-8">
                            @Html.CheckBoxFor(a => a.Status, new { @class = "form-control" })
                           
                        </div>
                    </div>
                </div>
                <div class="col-md-12 col-xs-12">
                    <div class="col-md-4"></div>
                    <div class="col-md-4">
                        <input type="submit" value="Update" class="btn btn-default" />
                    </div>
                    <div class="col-md-4"></div>
                </div>
            }

        </div>
    </fieldset>

</div>

